@model Vms.Web.Models.SCREEN
@{List<SelectListItem> controllertype = (List<SelectListItem>)ViewBag.ControllerType; }
@* This partial view defines form fields that will appear when creating and editing entities *@
<style type="text/css">
    .control-label
    {
        font-weight:bold;
    }
</style>
<div class="control-group">
    <div class="control-label">
         Screen's name
    </div>
    <div class="controls">
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
    </div>
</div>
<div class="control-group">
    <div class="control-label">
          Control type
    </div>
    <div class="controls">
        @Html.DropDownListFor(model => model.ControlType, controllertype)

           <!-- @Html.EditorFor(model => model.ControlType)
            @Html.ValidationMessageFor(model => model.ControlType)-->
    </div>
</div>
<div class="control-group">
    <div class="control-label">
            Width
    </div>
    <div class="controls">
            @Html.EditorFor(model => model.Width)
            @Html.ValidationMessageFor(model => model.Width)
    </div>
</div>
<div class="control-group">
    <div class="control-label">
           Height
    </div>
    <div class="controls">
            @Html.EditorFor(model => model.Height)
            @Html.ValidationMessageFor(model => model.Height)
    </div>
</div>
<div class="control-group">
    <div class="control-label">
    Ip address
    </div>
    <div class="controls">
            @Html.EditorFor(model => model.Ip)
            @Html.ValidationMessageFor(model => model.Ip)
    </div>
</div>

